package org.song.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.song.model.dto.ThumbsUpDto;
import org.song.model.vo.ThumbsUp;
import org.springframework.lang.NonNull;

import java.util.List;

@Mapper
public interface ThumbsUpMapper {
    
    List<ThumbsUp> listThumbsUps(@NonNull ThumbsUpDto thumbsUpDto);
    
    int deleteThumbsUp( @NonNull ThumbsUp blog);

    int insertThumbsUp( @NonNull ThumbsUp blog);

    int updateThumbsUp( @NonNull ThumbsUp blog);
    
}
